package com.itkaien.javaeebased.networkprogerma;

import java.net.Inet4Address;
import java.net.UnknownHostException;

public class netDemo {


    public static void main(String[] args) throws UnknownHostException {

        String hostAddress = Inet4Address.getByName("LAPTOP-D6150JIL").getHostAddress();

        System.out.println(hostAddress);


    }

}
